package com.bwie.product.service.impl;

import com.bwie.common.core.domain.R;
import com.bwie.common.core.domain.Result;
import com.bwie.product.domain.po.PmsSkuInfo;
import com.bwie.product.mapper.PmsSkuInfoMapper;
import com.bwie.product.service.PmsSkuInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PmsSkuInfoServiceImpl implements PmsSkuInfoService {
    @Autowired
    private PmsSkuInfoMapper pmsSkuInfoMapper;
    @Override
    public Result<PmsSkuInfo> selectSkuInfoById(Long skuId) {
        PmsSkuInfo pmsSkuInfo = pmsSkuInfoMapper.selectSkuInfoById(skuId);
        return Result.success(pmsSkuInfo);
    }
}
